package cn.iocoder.yudao.module.school.controller.admin.info.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 校园信息分页 Request VO")
@Data
public class InfoPageReqVO extends PageParam {

    @Schema(description = "学校名称", example = "张三")
    private String schoolName;

    @Schema(description = "学校地址")
    private String address;

    @Schema(description = "学校类型(1:小学 2:初中 3:高中 4:大学 5:其他)", example = "2")
    private Integer schoolType;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "校长姓名")
    private String principal;

    @Schema(description = "建校年份")
    private Integer foundingYear;

    @Schema(description = "学校简介", example = "你说的对")
    private String description;

    @Schema(description = "状态(0:禁用 1:启用)", example = "1")
    private Integer status;

    @Schema(description = "学校Logo URL", example = "https://www.iocoder.cn")
    private String logoUrl;

    @Schema(description = "地理位置坐标(经度,纬度)")
    private String location;

    @Schema(description = "占地面积(平方米)")
    private Double area;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}